Developer --> Technical Publications
PATHHardware Documentation > USB Devices > Mac OS USB DDK API Reference


Interface Descriptor Structure

The USB device interface descriptor is of this form:

struct USBInterfaceDescriptor {
    UInt8 length;
    UInt8 descriptorType;
    UInt8 interfaceNumber;
    UInt8 alternateSetting;
    UInt8 numEndpoints;
    UInt8 interfaceClass;
    UInt8 interfaceSubClass;
    UInt8 interfaceProtocol;
    UInt8 interfaceStrIndex;
};

© 1999 Apple Computer, Inc.

Previous | Back Up One Level | Next | Show Frames | Hide Frames